execute store result score #Slot temp run data get storage vs:system temp.VSPB.Slotid
execute if score #Slot temp matches 10.. run return run scoreboard players reset #Slot temp
execute store result storage vs:system temp.VSPB.Slotid int 1 run scoreboard players add #Slot temp 1
scoreboard players reset #Slot temp

function vs:system/game_ctrol/void_shop/page_button/get_last_notnull_slot_index/get with storage vs:system temp.VSPB